package ru.yermak.bookkeeping.action;

import javax.swing.*;
import java.awt.event.ActionEvent;

/**
 * User: harrier
 * Date: Aug 10, 2008
 */
public class ExitAction extends AbstractAction {

    public ExitAction(String name) {
        super(name);
    }

    public void actionPerformed(ActionEvent e) {
        Object source = e.getSource();
        System.out.println("source = " + source);
        System.exit(0);
    }
}
